package visiopuce.ui.providers;

import org.eclipse.jface.viewers.BaseLabelProvider;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.swt.graphics.Image;

import visiopuce.ui.tree.ITreeNode;

public class NavigationLabelProvider  extends BaseLabelProvider implements ILabelProvider {
	public String getText(Object element) {		
		return ((ITreeNode)element).getName();
	}
	
	public Image getImage(Object element) {		
		return ((ITreeNode)element).getImage();
	}
}
